package org.elj.jeasyexcel.structure;

import org.elj.jeasyexcel.structure.impl.BodyImpl;
import org.elj.jeasyexcel.structure.impl.ColumnHeaderImpl;
import org.elj.jeasyexcel.structure.impl.ContentImpl;
import org.elj.jeasyexcel.structure.impl.HeaderImpl;
import org.elj.jeasyexcel.structure.impl.SpreadSheetImpl;

public class StructureFactory {
	public static SpreadSheet getSpreadSheet(String name) {
		return new SpreadSheetImpl(name);
	}

	public static Content getEmptyContent() {
		return new ContentImpl();
	}

	public static Body getEmptyBody() {
		return new BodyImpl();
	}

	public static ColumnHeader getDefaultHeader(String header) {
		return new ColumnHeaderImpl(header);
	}

	public static Header getEmptyHeader() {
		return new HeaderImpl();
	}
}
